package com.yum.Iterator.Collection;

public abstract class YAbstractCollection<E> implements YCollection<E> {

    private static final int MAX_ARRAY_SIZE = 0x7fffffff - 8;

    @Override
    public abstract boolean add(E e);

    @Override
    public boolean addAll(YCollection<? extends E> Yc) {
        return false;
    }

    @Override
    public void clear() {

    }

    @Override
    public boolean contains(Object o) {
        return false;
    }

    @Override
    public boolean contatinsAll(YCollection<?> Yc) {
        return false;
    }

    @Override
    public boolean isEmpty() {
        return false;
    }

    @Override
    public boolean remove(Object o) {
        return false;
    }

    @Override
    public boolean removeAll(YCollection<?> Yc) {
        return false;
    }

    @Override
    public int size() {
        return 0;
    }

    @Override
    public E[] toArray(E[] a) {
        return null;
    }

    @Override
    public Object[] toArray() {
        return new Object[0];
    }


}
